package com.android.benbourahla.carmode.utils;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ContactsUtils
{
	private static List<Map<String, String>> selectedContacts = new ArrayList<Map<String, String>> ();
	
	public static void addContact(String name, String phone)
	{
		Map<String, String> m = new HashMap<String, String> ();
		m.put(name, phone);
		selectedContacts.add(m);
	}
	
	public static void clearList()
	{
		selectedContacts.clear();
	}

	public static List<Map<String, String>> getContactList()
	{
		return selectedContacts;
	}
	
}
